package cn.tedu.dfxd.mapper;

import cn.tedu.dfxd.entity.ArticleComment;

import cn.tedu.dfxd.entity.CommentsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;

/**
 * @author DBX
 * @effect
 * @date 2022/04/24/10:53
 */
public interface ArticleCommentMapper extends BaseMapper<ArticleComment> {
    @Insert("insert into article_comment values(#{id},#{articleId},#{commentId},#{userName},#{content},#{likeNum},#{userId}," +
            "#{articleUserId},#{createTime},#{email},#{subject})")
    Integer insertArticleComment(ArticleComment articleComment);
}
